﻿<%@ Page EnableEventValidation="false" Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" Inherits="cp_member_member" Codebehind="member.aspx.cs" %>
<%@ Register TagPrefix="oem" Namespace="OboutInc.EasyMenu_Pro" Assembly="obout_EasyMenu_Pro" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <script type ="text/javascript" >
        function SelectTab(itemID) {
            
            ob_em_SelectItem(itemID);
            window.frames['tabIframe'].location.replace("./" + itemID + ".aspx");
            
            switch (itemID) {
                case "profile":
                    document.getElementById("tabIframe").setAttribute("height", "690px");
                    break;
                case "mycart":
                    document.getElementById("tabIframe").setAttribute("height", "690px");
                    break;
                case "history":
                    document.getElementById("tabIframe").setAttribute("height", "690px");
                    break;
                case "favourite":
                    document.getElementById("tabIframe").setAttribute("height", "690px");
                    break;
            }
        }
    </script>
    <table cellpadding="0" cellspacing="0" style = "left:25px; position:relative">
		<tr>
			<td id="~ ">
                <oem:EasyMenu SelectedItemId="mycart" id="EasymenuTabStrip" runat="server" ShowEvent="Always" StyleFolder="/App_Themes/E2GroupTheme/obout/EasyMenu/TabStrip12"
	                Position="Horizontal" Width="530">
	                <Components>
		                <oem:MenuItem InnerHtml="<span style='cursor:default'>Giỏ hàng</span>" OnClientClick="SelectTab('mycart')" ID="mycart"></oem:MenuItem>
		                <oem:MenuItem InnerHtml="<span style='cursor:default'>Thông tin cá nhân</span>" OnClientClick="SelectTab('profile')" ID="profile"></oem:MenuItem>
		                <oem:MenuItem InnerHtml="<span style='cursor:default'>Lịch sử giao dịch</span>" OnClientClick="SelectTab('history')" ID="history"></oem:MenuItem>
		                <oem:MenuItem InnerHtml="<span style='cursor:default'>Sản phẩm yêu thích</span>" OnClientClick="SelectTab('favourite')" ID="favourite"></oem:MenuItem>
	                </Components>
	                <CSSClassesCollection>
	                    <oem:CSSClasses ObjectType="OboutInc.EasyMenu_Pro.MenuItem" Component="easyMenuItem" ComponentOver="easyMenuItemOver" ComponentContentCell="easyMenuItemContentCell" ComponentContentCellOver="easyMenuItemContentCellOver" ComponentLeftRoundCornerCell="easyMenuItemLeftRoundCornerCell" ComponentLeftRoundCornerCellOver="easyMenuItemLeftRoundCornerCellOver" ComponentRightRoundCornerCell="easyMenuItemRightRoundCornerCell" ComponentRightRoundCornerCellOver="easyMenuItemRightRoundCornerCellOver" ComponentIconCell="easyMenuItemIconCell" ComponentIconCellOver="easyMenuItemIconCellOver" ComponentSubMenuCell="easyMenuItemSubMenuCell" ComponentSubMenuCellOver="easyMenuItemSubMenuCellOver"></oem:CSSClasses>
	                </CSSClassesCollection>
                </oem:EasyMenu>
			</td>
		</tr>
		<tr>
			<td style="padding-left:0px;">
				<iframe 
				    style="border:2px solid #9EA7B8;" 
				    id = "tabIframe" 
				    name="tabIframe" 
				    frameborder="0" 
				    width="526px" 
				    height="690px" 
				    src="./mycart.aspx">
			    </iframe>
			</td>
		</tr>
	</table>
</asp:Content>